<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:useBean id="member" class="com.kamikaze.Member" scope="session" />
<%
for (String msg : member.getErrors()) {
	%><%=msg %><%
}
%>
<table align="center">
<caption><h1>新增員工資料</h1></caption>
<hr>
<form action="regist" method="post">
	<tr><td>員工編號：</td><td><input type="text" name="user_id" value="${member.getUser_id()}" /></td></tr>
	<tr><td>員工密碼：</td><td> <input type="text" name="user_pw" value="${member.getUser_pw()}" /></td></tr>
	<tr><td>員工姓名：</td><td> <input type="text" name="user_name" value="${member.getUser_name()}" /></td></tr>
	<tr><td>員工性別：</td><td>
		<input type="radio" name="user_gender" value="男" checked />	男
		<input type="radio" name="user_gender" value="女" />女</td></tr>
	<tr><td>家用電話：</td><td><input type="text" name="user_tel" value="${member.getUser_tel()}" /></td></tr>
	<tr><td>行動電話：</td><td><input type="text" name="user_mobile" value="${member.getUser_mobile()}" /></td></tr>
	<tr><td>員工生日：</td><td><input type="text" name="user_birthday" value="${member.getUser_birthday() }" /></td></tr>
	<tr><td>員工地址：</td><td><input type="text" name="user_address" value="${member.getUser_address() }" /></td></tr>
	<tr><td>部門編號：</td><td><select name="dept_number">
		<option value="1">1</option>
		<option value="2">2</option>
	</select></td></tr>
	<tr><td>職位等級：</td><td><select name="user_level">
		<option value="1">1</option>
		<option value="2">2</option>
		<option value="3">3</option>
	</select></td></tr>
	<tr><td>任用日期：</td><td><input type="text" name="user_employee" value="${member.getUser_employee() }" /></td></tr>
	<tr><td>員工薪資：</td><td><input type="text" name="user_salary" value="${member.getUser_salary() }" /></td></tr>
	<tr><td>頭像路徑：</td><td><input type="text" name="user_image" value="${member.getUser_image() }" /></td></tr>
	<tr><td></td><td><input type="submit" value="送出資料" /></td></tr>
</form>
</table>